<script>
import { defineComponent } from 'vue'

export default defineComponent({
  name: "index",
  props: {
    render: {
      type: Function
    },
    params: {
      type: Array,
      default: () => []
    }
  },
  render() {
    return this.render && this.render(...this.params)
  }
})
</script>

<style scoped>

</style>
